﻿using System;

using Flagwind.ComponentModel.DataAnnotations;

namespace Flagwind.ComponentModel
{
	[Serializable]
	public class PositionParameter : DataObject
	{
		#region 公共属性

		/// <summary>
		/// 获取或设置经度。
		/// </summary>
		[RequiredValidator(RuleName = "required")]
		public decimal? Longitude
		{
			get;
			set;
		}

		/// <summary>
		/// 获取或设置纬度。
		/// </summary>
		[RequiredValidator(RuleName = "required")]
		public decimal? Latitude
		{
			get;
			set;
		}

		#endregion
	}
}
